package top.tangyh.lamp.care.vo.result;

import cn.hutool.core.map.MapUtil;
import io.swagger.v3.oas.annotations.media.Schema;
import java.time.LocalDateTime;
import java.util.Map;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import top.tangyh.basic.base.entity.Entity;
import top.tangyh.basic.interfaces.echo.EchoVO;
import java.io.Serializable;

/**
 * <p>
 * 表单查询方法返回值VO
 * 检验结果表
 * </p>
 *
 * @author zqb
 * @date 2024-08-02 16:39:32
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@Builder
@Schema(description = "检验结果表")
public class BHl7YzLisResultResultVO extends Entity<Long> implements Serializable, EchoVO {

    private static final long serialVersionUID = 1L;

    private Map<String, Object> echoMap = MapUtil.newHashMap();

    @Schema(description = "")
    private Long id;

    /**
    * 病人id
    */
    @Schema(description = "病人id")
    private String patientIdent;
    /**
    * 住院号
    */
    @Schema(description = "住院号")
    private String hospitalNumber;
    /**
    * 医嘱id
    */
    @Schema(description = "医嘱id")
    private String orderId;
    /**
    * 检验报告id
    */
    @Schema(description = "检验报告id")
    private String reportId;
    /**
    * 检验报告名称
    */
    @Schema(description = "检验报告名称")
    private String reportName;
    /**
    * 采集时间
    */
    @Schema(description = "采集时间")
    private LocalDateTime takeTime;
    /**
    * 检验项目名称
    */
    @Schema(description = "检验项目名称")
    private String projectName;
    /**
    * 检验项目id
    */
    @Schema(description = "检验项目id")
    private String projectIdent;
    /**
    * 检验值
    */
    @Schema(description = "检验值")
    private String testValue;
    /**
    * 检验值单位
    */
    @Schema(description = "检验值单位")
    private String testUnit;
    /**
    * 参考值范围
    */
    @Schema(description = "参考值范围")
    private String valueRange;
    /**
    * 检验结果状态
    */
    @Schema(description = "检验结果状态")
    private String testStatus;
    /**
    * 检验方法
    */
    @Schema(description = "检验方法")
    private String testMethod;
    /**
    * 样本类型
    */
    @Schema(description = "样本类型")
    private String sampleType;
    /**
    * 结果标志(ABC表示正常偏高偏低，AAA正常BAA偏高CAA偏低BBB特高CCC特低)
     * 常偏高偏低，该值由 3
     * 个字符组成，AAA 正
     * 常，BAA 偏高，CAA
     * 偏低，BBB 特高，CCC
     * 特低)
    */
    @Schema(description = "结果标志(ABC表示正常偏高偏低，AAA正常BAA偏高CAA偏低BBB特高CCC特低) 常偏高偏低，该值由 3 个字符组成，AAA 正 常，BAA 偏高，CAA 偏低，BBB 特高，CCC 特低)")
    private String sampleResult;
    /**
    * 报告时间
    */
    @Schema(description = "报告时间")
    private LocalDateTime reportTime;



}
